package com.huat.ifly;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

@CrossOrigin("*")
@RestController

@RequestMapping("/tiqu")
public class LTPController {
    @Autowired

    private LTPUtile ltp;
    @RequestMapping("/qbh")
    public String qbh(@RequestParam("TEXT") String textqbh) throws Exception
    {
        System.out.println(1);
        System.out.println(textqbh);
        System.out.println(textqbh);
        return ltp.doLtp(textqbh);
    }
}
